// ----------------------------------------------------------------------
// Seven Segment font for Tiny4kOLED library.
// 14x24 resolution.
// Charset: '.', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
// Empty space character as a '/'
// v1.1
// Changes:
// - Removed minus character (-)
// - Font is more aligned to top
// ----------------------------------------------------------------------
// By Goshante
// 02.2024
// http://github.com/goshante
// ----------------------------------------------------------------------


#include <avr/pgmspace.h>


const uint8_t ssd1306xled_font14x24sevenSeg [] PROGMEM = 
{
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x00,0x20,0x70,0x70,0x20,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
	0x00,0xFE,0xFD,0xFB,0x07,0x07,0x07,0x07,0x07,0x07,0xFB,0xFD,0xFE,0x00,
	0x00,0xF7,0xE3,0xC1,0x00,0x00,0x00,0x00,0x00,0x00,0xC1,0xE3,0xF7,0x00,
	0x00,0x3F,0x5F,0x6F,0x70,0x70,0x70,0x70,0x70,0x70,0x6F,0x5F,0x3F,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0xFC,0xFE,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC1,0xE3,0xF7,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x1F,0x3F,0x00,
	0x00,0x00,0x01,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0xFB,0xFD,0xFE,0x00,
	0x00,0xF0,0xE8,0xDC,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1D,0x0B,0x07,0x00,
	0x00,0x3F,0x5F,0x6F,0x70,0x70,0x70,0x70,0x70,0x70,0x60,0x40,0x00,0x00,
	0x00,0x00,0x01,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0xFB,0xFD,0xFE,0x00,
	0x00,0x00,0x08,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xDD,0xEB,0xF7,0x00,
	0x00,0x00,0x40,0x60,0x70,0x70,0x70,0x70,0x70,0x70,0x6F,0x5F,0x3F,0x00,
	0x00,0xFE,0xFC,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0xFC,0xFE,0x00,
	0x00,0x07,0x0B,0x1D,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xDD,0xEB,0xF7,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x1F,0x3F,0x00,
	0x00,0xFE,0xFD,0xFB,0x07,0x07,0x07,0x07,0x07,0x07,0x03,0x01,0x00,0x00,
	0x00,0x07,0x0B,0x1D,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xDC,0xE8,0xF0,0x00,
	0x00,0x00,0x40,0x60,0x70,0x70,0x70,0x70,0x70,0x70,0x6F,0x5F,0x3F,0x00,
	0x00,0xFE,0xFD,0xFB,0x07,0x07,0x07,0x07,0x07,0x07,0x03,0x01,0x00,0x00,
	0x00,0xF7,0xEB,0xDD,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xDC,0xE8,0xF0,0x00,
	0x00,0x3F,0x5F,0x6F,0x70,0x70,0x70,0x70,0x70,0x70,0x6F,0x5F,0x3F,0x00,
	0x00,0x00,0x01,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0xFB,0xFD,0xFE,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC1,0xE3,0xF7,0x00,
	0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x1F,0x3F,0x00,
	0x00,0xFE,0xFD,0xFB,0x07,0x07,0x07,0x07,0x07,0x07,0xFB,0xFD,0xFE,0x00,
	0x00,0xF7,0xEB,0xDD,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xDD,0xEB,0xF7,0x00,
	0x00,0x3F,0x5F,0x6F,0x70,0x70,0x70,0x70,0x70,0x70,0x6F,0x5F,0x3F,0x00,
	0x00,0xFE,0xFD,0xFB,0x07,0x07,0x07,0x07,0x07,0x07,0xFB,0xFD,0xFE,0x00,
	0x00,0x07,0x0B,0x1D,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xDD,0xEB,0xF7,0x00,
	0x00,0x00,0x40,0x60,0x70,0x70,0x70,0x70,0x70,0x70,0x6F,0x5F,0x3F,0x00
};

const DCfont TinyOLED4kfont14x24sevenSeg = 
{
	(uint8_t*)ssd1306xled_font14x24sevenSeg,
	14, //Character width in pixels
	3, //Character height in pages (8 pixels)
	46, 57 //ASCII extents
};

//For backwards compatibility
#define FONT14X24SEVENSEG (&TinyOLED4kfont14x24sevenSeg)